[INFO] cloning repository https://github.com/idubrov/traitor
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/idubrov/traitor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidubrov%2Ftraitor", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidubrov%2Ftraitor'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e1c934d2374a80ce126c7cdaaae86b77a50cbba6
[INFO] fixing idubrov/traitor against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidubrov%2Ftraitor" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/idubrov/traitor
[INFO] finished tweaking git repo https://github.com/idubrov/traitor
[INFO] tweaked toml for git repo https://github.com/idubrov/traitor written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/idubrov/traitor on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/idubrov/traitor already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] adb3e4d9ecdfc822854de266aeabd24cf3f892053ef9f40df2343f9ec0b19383
[INFO] running `Command { std: "docker" "start" "adb3e4d9ecdfc822854de266aeabd24cf3f892053ef9f40df2343f9ec0b19383", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "adb3e4d9ecdfc822854de266aeabd24cf3f892053ef9f40df2343f9ec0b19383" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "adb3e4d9ecdfc822854de266aeabd24cf3f892053ef9f40df2343f9ec0b19383", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "adb3e4d9ecdfc822854de266aeabd24cf3f892053ef9f40df2343f9ec0b19383" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating traitor-derive/Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo.
[INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously.
[INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html
[INFO] [stderr] When building the following dependencies, the given features will no longer be used:
[INFO] [stderr] 
[INFO] [stderr]   syn v0.15.23 removed features: visit
[INFO] [stderr]   syn v0.15.23 (as host dependency) removed features: visit
[INFO] [stderr] 
[INFO] [stderr]    Compiling serde v1.0.82
[INFO] [stderr]    Compiling memchr v2.1.2
[INFO] [stderr]     Checking memmap v0.6.2
[INFO] [stderr]     Checking unicode-xid v0.1.0
[INFO] [stderr]    Compiling syn v0.15.23
[INFO] [stderr]     Checking take_mut v0.2.2
[INFO] [stderr]     Checking byteorder v1.2.6
[INFO] [stderr]     Checking typed-arena v1.4.1
[INFO] [stderr]     Checking evmap v4.0.1
[INFO] [stderr]     Checking proc-macro2 v0.4.24
[INFO] [stderr]     Checking dynasmrt v0.2.3
[INFO] [stderr]     Checking aho-corasick v0.6.9
[INFO] [stderr]     Checking quote v0.6.10
[INFO] [stderr]     Checking regex v1.1.0
[INFO] [stderr]     Checking toml v0.4.10
[INFO] [stderr]     Checking traitor-derive v0.0.0 (/opt/rustwide/workdir/traitor-derive)
[INFO] [stderr]    Migrating traitor-derive/src/lib.rs from 2018 edition to 2021
[INFO] [stderr]    Compiling serde_derive v1.0.82
[INFO] [stderr]     Checking traitor v0.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]        Fixed src/lib.rs (7 fixes)
[INFO] [stderr]     Checking cargo-readme v3.1.2
[INFO] [stderr]    Migrating tests/box_drop.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating tests/colored_string.rs from 2018 edition to 2021
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> tests/box_drop.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | trait Annotated {
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility`
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 6 | trait dyn Annotated {
[INFO] [stdout]   |       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> tests/box_drop.rs:34:20
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let bound: Box<Annotated> = bind_Annotated_box(Box::new(ValueWithDrop {}), binder);
[INFO] [stdout]    |                    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let bound: Box<dyn Annotated> = bind_Annotated_box(Box::new(ValueWithDrop {}), binder);
[INFO] [stdout]    |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: errors present after applying fixes to crate `box_drop`
[INFO] [stderr]  --> tests/box_drop.rs
[INFO] [stderr]   = cause: error: expected identifier, found keyword `dyn`
[INFO] [stderr]             --> tests/box_drop.rs:6:7
[INFO] [stderr]              |
[INFO] [stderr]            6 | trait dyn Annotated {
[INFO] [stderr]              |       ^^^ expected identifier, found keyword
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: expected one of `:`, `<`, `=`, `where`, or `{`, found `Annotated`
[INFO] [stderr]             --> tests/box_drop.rs:6:11
[INFO] [stderr]              |
[INFO] [stderr]            6 | trait dyn Annotated {
[INFO] [stderr]              |           ^^^^^^^^^ expected one of `:`, `<`, `=`, `where`, or `{`
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 2 previous errors
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stderr] error: errors present after applying fixes to crate `colored_string`
[INFO] [stderr]  --> tests/colored_string.rs
[INFO] [stderr]   = cause: error: expected identifier, found keyword `dyn`
[INFO] [stderr]              --> tests/colored_string.rs:14:7
[INFO] [stderr]               |
[INFO] [stderr]            14 | trait dyn Colored {
[INFO] [stderr]               |       ^^^ expected identifier, found keyword
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: expected one of `:`, `<`, `=`, `where`, or `{`, found `Colored`
[INFO] [stderr]              --> tests/colored_string.rs:14:11
[INFO] [stderr]               |
[INFO] [stderr]            14 | trait dyn Colored {
[INFO] [stderr]               |           ^^^^^^^ expected one of `:`, `<`, `=`, `where`, or `{`
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 2 previous errors
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.83s
[INFO] [stderr] crater-edition-check: traitor-derive v0.0.0 (/opt/rustwide/workdir/traitor-derive) updating edition from 2018 to 2021
[INFO] [stderr] crater-edition-check: traitor v0.0.0 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> tests/colored_string.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | trait Colored {
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility`
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 14 | trait dyn Colored {
[INFO] [stdout]    |       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> tests/colored_string.rs:80:31
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn extract_data_ptr(colored: &Colored) -> *const () {
[INFO] [stdout]    |                               ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn extract_data_ptr(colored: &dyn Colored) -> *const () {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> tests/colored_string.rs:60:21
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let red_hello: &Colored = red_binder.bind(&data);
[INFO] [stdout]    |                     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let red_hello: &dyn Colored = red_binder.bind(&data);
[INFO] [stdout]    |                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> tests/colored_string.rs:61:23
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let green_hello: &Colored = green_binder.bind(&data);
[INFO] [stdout]    |                       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let green_hello: &dyn Colored = green_binder.bind(&data);
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> tests/colored_string.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let blue_hello: &Colored = blue_binder.bind(&data);
[INFO] [stdout]    |                      ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let blue_hello: &dyn Colored = blue_binder.bind(&data);
[INFO] [stdout]    |                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> tests/colored_string.rs:63:27
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let turquoise_hello: &Colored = turquoise_binder.bind(&data);
[INFO] [stdout]    |                           ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let turquoise_hello: &dyn Colored = turquoise_binder.bind(&data);
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> tests/colored_string.rs:83:36
[INFO] [stdout]    |
[INFO] [stdout] 83 |     unsafe { *(&colored as *const &Colored as *const *const ()) }
[INFO] [stdout]    |                                    ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 83 |     unsafe { *(&colored as *const &dyn Colored as *const *const ()) }
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling traitor-derive v0.0.0 (/opt/rustwide/workdir/traitor-derive)
[INFO] [stderr]     Checking traitor v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `VirtualTableHeader` is never constructed
[INFO] [stdout]    --> src/lib.rs:143:8
[INFO] [stdout]     |
[INFO] [stdout] 143 | struct VirtualTableHeader {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VirtualTableHeader` is never constructed
[INFO] [stdout]    --> src/lib.rs:143:8
[INFO] [stdout]     |
[INFO] [stdout] 143 | struct VirtualTableHeader {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]  --> tests/box_drop.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | trait Annotated {
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]   |
[INFO] [stdout] 6 | trait dyn Annotated {
[INFO] [stdout]   |       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]  --> tests/box_drop.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[traitor::shadow]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the attribute macro `traitor::shadow` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]  --> tests/box_drop.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | trait Annotated {
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> tests/colored_string.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | trait Colored {
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]    |
[INFO] [stdout] 14 | trait dyn Colored {
[INFO] [stdout]    |       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> tests/colored_string.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[traitor::shadow]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `traitor::shadow` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> tests/colored_string.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | trait Colored {
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> tests/colored_string.rs:80:31
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn extract_data_ptr(colored: &Colored) -> *const () {
[INFO] [stdout]    |                               ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use a new generic type parameter, constrained by `Colored`
[INFO] [stdout]    |
[INFO] [stdout] 80 - fn extract_data_ptr(colored: &Colored) -> *const () {
[INFO] [stdout] 80 + fn extract_data_ptr<T: Colored>(colored: &T) -> *const () {
[INFO] [stdout]    |
[INFO] [stdout] help: you can also use an opaque type, but users won't be able to specify the type parameter when calling the `fn`, having to rely exclusively on type inference
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn extract_data_ptr(colored: &impl Colored) -> *const () {
[INFO] [stdout]    |                               ++++
[INFO] [stdout] help: alternatively, use a trait object to accept any type that implements `Colored`, accessing its methods at runtime using dynamic dispatch
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn extract_data_ptr(colored: &dyn Colored) -> *const () {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> tests/box_drop.rs:34:20
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let bound: Box<Annotated> = bind_Annotated_box(Box::new(ValueWithDrop {}), binder);
[INFO] [stdout]    |                    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let bound: Box<dyn Annotated> = bind_Annotated_box(Box::new(ValueWithDrop {}), binder);
[INFO] [stdout]    |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0782`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `traitor` (test "box_drop") due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> tests/colored_string.rs:60:21
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let red_hello: &Colored = red_binder.bind(&data);
[INFO] [stdout]    |                     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let red_hello: &dyn Colored = red_binder.bind(&data);
[INFO] [stdout]    |                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> tests/colored_string.rs:61:23
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let green_hello: &Colored = green_binder.bind(&data);
[INFO] [stdout]    |                       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let green_hello: &dyn Colored = green_binder.bind(&data);
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> tests/colored_string.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let blue_hello: &Colored = blue_binder.bind(&data);
[INFO] [stdout]    |                      ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let blue_hello: &dyn Colored = blue_binder.bind(&data);
[INFO] [stdout]    |                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> tests/colored_string.rs:63:27
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let turquoise_hello: &Colored = turquoise_binder.bind(&data);
[INFO] [stdout]    |                           ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let turquoise_hello: &dyn Colored = turquoise_binder.bind(&data);
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> tests/colored_string.rs:83:36
[INFO] [stdout]    |
[INFO] [stdout] 83 |     unsafe { *(&colored as *const &Colored as *const *const ()) }
[INFO] [stdout]    |                                    ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]    |
[INFO] [stdout] 83 |     unsafe { *(&colored as *const &dyn Colored as *const *const ()) }
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0782`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `traitor` (test "colored_string") due to 9 previous errors
[INFO] running `Command { std: "docker" "inspect" "adb3e4d9ecdfc822854de266aeabd24cf3f892053ef9f40df2343f9ec0b19383", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "adb3e4d9ecdfc822854de266aeabd24cf3f892053ef9f40df2343f9ec0b19383", kill_on_drop: false }`
[INFO] [stdout] adb3e4d9ecdfc822854de266aeabd24cf3f892053ef9f40df2343f9ec0b19383
